//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

public class test2 {
    public test2() {
    }

    public static void main(String[] args) {
        System.out.println("101~200之间的素数有:");
        int count = 0;

        for(int i = 101; i < 200; ++i) {
            boolean flag = true;

            for(int j = 2; j < i; ++j) {
                if (i % j == 0) {
                    flag = false;
                    break;
                }
            }

            if (flag) {
                System.out.print("" + i + " ");
                ++count;
            }
        }

        System.out.println("\n一共有" + count + "个素数");
    }
}
